home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc19
/
gemfsc19.lzh
/
GEMFBIND
/
AESMENU1.S
< prev
next >
Wrap
Text File
|
1993-03-26
|
2KB
|
74 lines
;*========================================================================
;*
;* AESFAST Public Domain GEM bindings.
;*
;*========================================================================
;*************************************************************************
;*
;* Menu Manager routines 1 of 2.
;*
;*************************************************************************
;-------------------------------------------------------------------------
; menu_bar
; menu_icheck
; menu_ienable
; menu_tnormal
;-------------------------------------------------------------------------
globl _menu_bar
_menu_bar:
move.l #$1E010101,d0 ; AControl 30,1,1,1
bra.b menu_do
globl _menu_icheck
_menu_icheck:
move.l #$1F020101,d0 ; AControl 31,2,1,1
bra.b menu_do
globl _menu_ienable
_menu_ienable:
move.l #$20020101,d0 ; AControl 32,2,1,1
bra.b menu_do
globl _menu_tnormal
_menu_tnormal:
move.l #$21020101,d0 ; AControl 33,2,1,1
menu_do:
; .cargs #4,ptree.l,intin
ptree = 4
intin = 8
lea intin(sp),a1 ; -> intin
lea ptree(sp),a0 ; -> addrin
jmp aes_do
;-------------------------------------------------------------------------
; menu_text
;-------------------------------------------------------------------------
globl _menu_text
_menu_text:
; .cargs #8,ptree.l,item,ptext.l
ptree = 8
item = 12
ptext = 14
link a6,#-2
move.l #$22010102,d0 ; AControl 34,1,1,2
move.l ptext(a6),-(sp) ; The 2 pointers are not contiguous
move.l ptree(a6),-(sp) ; on entry call stack, make them so.
moveq.l #-2,d1 ; = intout
move.l sp,a0 ; -> addrin (we just built it)
lea item(a6),a1 ; -> intin
jsr aes_call
move.w -2(a6),d0
unlk a6
rts
; end of code